package com.Java.train.member.service;

import com.Java.train.common.response.CommonResp;
import com.Java.train.member.domain.DTO.MemberDTO;
import com.Java.train.member.domain.Member;
import com.Java.train.member.req.MemberLoginReq;
import com.Java.train.member.req.MemberReq;
import com.Java.train.member.req.MemberSendCodeReq;
import com.baomidou.mybatisplus.extension.service.IService;

public interface MemberService extends IService<Member> {
    CommonResp<Long> register(MemberReq memberReq);

    CommonResp<Long> sendCode(MemberSendCodeReq sendCodeReq);

    CommonResp<MemberDTO> login(MemberLoginReq memberLoginReq);
}
